<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>打捞或者拆除沿海水域内沉船沉物审批</title>
<script type="text/javascript">
$(function() {
	
	//测试数据，后续待删 
/* 	$('[name="workbegintime"]').val('2018-06-29');
	$('[name="workendtime"]').val('2018-06-29');
	$('[name="shipwrecksname"]').val('测试项目');
	$('[name="days"]').val('3');
	$('[name="workunitname"]').val('南京XXX有限公司');
	$('[name="workcontactperson"]').val('李XX');
	$('[name="workcontactphone"]').val('18888888888');
	$('[name="workarea"]').val('1号浮标向东500米');
	$('[name="workstep"]').val('施工作业程序');
	$('[name="emergentstep"]').val('应急措施'); */
	
	
	bindWaterway('waterway', '', null);
	
	$('#waterway').change(function(){
		var waterwaycode = $(this).val();
		bindMark('mark', waterwaycode, null);
	});
});
</script>
</head>
<body>
		<div class="panel panel-primary">
			<div class="panel-heading">
				<h3 class="panel-title">业务资料</h3>
			</div>

			<div class="panel-body">
				<form id="Business">
					<table class="table table-bordered">
					<tbody>
						<tr>
							<td style="width:130px; text-align: right; background-color: #eee; " >
								项目名称：<span style="color:red;">*</span>
							</td>
							<td colspan="5">
								<input type="text" class="form-control" name="shipwrecksname" placeholder="请输入被打捞物名称">
							</td>
						</tr>
						<tr>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								计划开工日期：<span style="color:red;">*</span>
							</td>
							<td>
								<input type="date" class="form-control" name="workbegintime" placeholder="请选择计划开工日期">
							</td>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								预计完工日期：<span style="color:red;">*</span>
							</td>
							<td>
								<input type="date" class="form-control" name="workendtime" placeholder="请选择预计完工日期">
							</td>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								完工天数：<span style="color:red;">*</span>
							</td>
							<td>
								<input type="number" class="form-control" name="days" placeholder="请输入完工天数">
							</td>
						</tr>
						<tr>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								施工单位：<span style="color:red;">*</span>
							</td>
							<td colspan="5">
								<input type="text" class="form-control" name="workunitname" placeholder="请输入打捞单位">
							</td>
							<!-- <td style="width:130px; text-align: right; background-color: #eee; ">
								施工单位联系人：
							</td>
							<td>
								<input type="text" class="form-control" name="workcontactperson" placeholder="请输入打捞单位联系人">
							</td>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								施工单位联系电话：
							</td>
							<td>
								<input type="text" class="form-control" name="workcontactphone" placeholder="请输入打捞单位联系电话">
							</td> -->
						</tr>
						<tr>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								地点范围：<span style="color:red;">*</span>
							</td>
							<td colspan="5">
							
								<div class="row">
									<div class="col-lg-3">
										<select class="form-control" id="waterway" name="waterwaycode">
											<option>--请选择水道--</option>
										</select>
									</div>
									<div class="col-lg-3">
										<select class="form-control" id="mark" name="navigationmarkcode">									
											<option>--请选择航标--</option>
										</select>
									</div>
								</div>
								
								<div class="row" style="margin-top: 10px;">
									<div class="col-lg-12">
    									<textarea class="form-control" rows="2" name="workarea" placeholder="请输入地点范围"></textarea>
									</div>
								</div>
							</td>
						</tr>
						<tr>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								施工作业程序：
							</td>
							<td colspan="5">
    							<textarea class="form-control" rows="2" name="workstep" placeholder="请输入施工作业程序"></textarea>
							</td>
						</tr>
						<tr>
							<td style="width:130px; text-align: right; background-color: #eee; ">
								应急措施：
							</td>
							<td colspan="5">
    							<textarea class="form-control" rows="2" name="emergentstep" placeholder="请输入应急措施"></textarea>
							</td>
						</tr>
					</tbody>
					</table>
					
	            </form>
			</div>
		</div>

</body>
</html>